﻿using System;
using System.Runtime.Serialization;
using NCMIS.ObjectModel.MetaData;

namespace NCMIS.ObjectModel
{
    /// <summary>
    /// See TokenedCmisObjectId. Only difference is the element name, 
    /// which is documentId instead of objectId.
    /// </summary>
    [DataContract(Namespace = CmisNs.Cmism)]
    public class TokenedDocumentId
    {
        [DataMember(Name = "documentId")]
        public string DocumentId
        {
            get;
            set;
        }

        [DataMember(Name = "changeToken")]
        public string ChangeToken
        {
            get;
            set;
        }
    }
}
